import 'package:flutter/material.dart';

class Scenarios extends StatefulWidget {
  @override
  State<StatefulWidget> createState() => _ScenariosState();
}

class _ScenariosState extends State<Scenarios> {
  @override
  Widget build(BuildContext context) {
    return Wrap(children: <Widget>[
      Stack(
        alignment: AlignmentDirectional.center,
        children: <Widget>[
          Container(
            alignment: Alignment.topLeft,
            child: Image.asset('images/灯带_0001.png',
                width: MediaQuery.of(context).size.width / 1.3,
                height: MediaQuery.of(context).size.height / 8),
          ),
          Container(
            alignment: Alignment(-0.5, 0.0),
            child: Text('LED灯带',
                style: TextStyle(color: Colors.white, fontSize: 18)),
          ),
        ],
      ),
      Container(
          width: MediaQuery.of(context).size.width,
          height: (MediaQuery.of(context).size.height / 9.45) * 7,
          child: GridView.count(
            shrinkWrap: true,
            crossAxisCount: 2,
            mainAxisSpacing: 10,
            crossAxisSpacing: 10,
            childAspectRatio: 1.8,
            children: [
            ],
          )),
    ]);
  }
}
